package com.translate.web.service;
import com.basic.service.contract.IBaseService;
import com.translate.entity.Receivables;

public interface IReceivablesService extends IBaseService<Receivables> { 

	/**
	 * 获取回款信息并缓存
	 * @param id
	 * @return
	 */
	public Receivables getReceivablesToCache(int id);
	
	/**
	 * 同意
	 * @param orderId
	 * @return
	 */
	int agree(int orderId);

	/**
	 * 驳回
	 * @param orderId
	 * @return
	 */
	int reject(int orderId);
	
	/**
	 * 验证是否可编辑
	 * @param id
	 * @return
	 */
	boolean editable(int id);
	
}
